package com.easysoft.framework.quartz;

/**
 * Created by try on 2017/7/21.
 */

import com.easysoft.framework.annotation.quartz.CronQuartzJob;
import com.easysoft.framework.quartz.scheduling.AbstractJob;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@DisallowConcurrentExecution
@CronQuartzJob(cronExpression = "0 * * * * ?")
public class TestJob extends AbstractJob {
    private static final Logger logger = LoggerFactory.getLogger(TestJob.class);

    @Override
    public void execute(JobExecutionContext arg0) throws JobExecutionException {
        logger.info("TestJob.execute()============== xxxxxxxxxxxxxxxxxxxxxxxxxxxxx ==============================");

    }


}
